package top.fyxxxx.downloader.utils;

public class History {
    private String fileName;
    private String filePath;
    private long date;
    private long fileSize;
    private int status;
    private long downloadedSize;
    private String url;
    public History(String fileName,String filePath,String url,int status,long date,long fileSize,long downloadedSize)
    {
        this.fileName=fileName;
        this.filePath=filePath;
        this.url=url;
        this.status=status;
        this.date=date;
        this.fileSize=fileSize;
        this.downloadedSize=downloadedSize;
    }

    public int getStatus() {
        return status;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public long getDownloadedSize() {
        return downloadedSize;
    }

    public void setDownloadedSize(long downloadedSize) {
        this.downloadedSize = downloadedSize;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getFilePath() {
        return filePath;
    }

    public long getDate() {
        return date;
    }

    public long getFileSize() {
        return fileSize;
    }

    public String getFileName() {
        return fileName;
    }

    public void setDate(long date) {
        this.date = date;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public void setFileSize(long fileSize) {
        this.fileSize = fileSize;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }
}
